import { createStore } from 'vuex'
import global from '@/store/modules/global.js'
import user from './user.js'
import cart from './cart.js'
export default createStore({
  ...global,
  // 局部模块配置
  modules: {
    user,
    cart
  }

})
